package game;

/**
 * 盗贼类
 */
public class Thieves extends Role{
    public Thieves(String name, int level) {
        super(name, level);
        this.setHpWeight(10);
        this.setAttackWeight(3);
        this.setDefineWeight(1);
        this.init();
    }

    /**
     * 盗贼偷盗
     */
    public void thieve(){
        this.setCoin(this.getCoin() + 12);
        this.setHp(this.getHp() - 9);
    }
}
